package com.chun.dao;

import com.chun.pojo.User;

import java.util.List;
import java.util.Map;

//Dao接口类
public interface UserMapper {

    //根据用户id来查询用户
    User getUserById(int id);

    //分页
    List<User> getUserByLimit(Map<String,Integer> map);

    //分页2
    List<User> getUserByRowBounds();

}
